package com.huawang.mdesign.model.service.dto.changeanalyse;

import com.huawang.business.dto.ProjectIdDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author baibf
 * @description 创建变更分析追溯图DTO
 * @date 2023/4/21 17:24
 **/
@Data
public class AddChangeAnalyseMapDto extends ProjectIdDTO {

    @NotBlank
    private String projectId;

    @Schema(title = "变更模型")
    @NotBlank
    private String instanceId;

    @Schema(title = "变更属性id")
    @NotEmpty
    private List<String> propertyIds;

    @Schema(title = "创建位置")
    private String parentId;
}
